home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / editors / eedraw / src / ed / makefile < prev    next >
Encoding:
Makefile  |  1992-06-12  |  2.0 KB  |  70 lines

  1.  
  2. #
  3. # Makefile for EEcad program. Turbo C++ tcc (and up) is assumed available.
  4. #
  5.  
  6.  
  7. # Works only on TC++ 1.0 make and up - swap out make before invoking command.
  8. .SWAP
  9.  
  10. # Your C compiler and linker
  11. CC = tcc
  12. LNK = tlink
  13.  
  14. # Include directories other than default ones.
  15. INC = -Ic:\usr\tc\include -I\usr\include
  16. LIB = c:\usr\tc\lib
  17. LIB2 = c:\usr\lib
  18.  
  19. # Non debug flags:
  20. #
  21. # BC 2.0 or previous
  22. # CFLAGS = -ml -c -a- -ff -G -O -r -d -w -v- -y- -k- -N-
  23. #
  24. # BC++ 3.0 (with optimizer).
  25. CFLAGS = -ml -c -a- -ff -G -O1 -r -d -w -v- -y- -k- -N-
  26. LFLAGS = /x/c
  27.  
  28. # Debug flags:
  29. # CFLAGS = -ml -c -a- -ff -d -w -N -v -y
  30. # LFLAGS = /v
  31.  
  32. #
  33. # Libs to link with
  34. #
  35. LIBS =  $(LIB2)\intr_lib.lib $(LIB2)\misc_lib.lib \
  36.     $(LIB)\graphics.lib $(LIB)\emu.lib \
  37.     $(LIB)\mathl.lib $(LIB)\cl.lib
  38.  
  39. # The {$< } is also new to TC++ 1.0 make - remove the { } pair if your make
  40. # choke on them (the { } signals batch mode that combines few operation at the
  41. # same time - very nice feature!).
  42. .c.obj:
  43.     $(CC) $(INC) $(CFLAGS) {$< }
  44.  
  45. OBJS =    ctrl-brk.obj director.obj eecreate.obj eecad.obj \
  46.      eelibs1.obj eelibs2.obj eeload.obj eemodify.obj eeredraw.obj \
  47.     eestatus.obj eestring.obj eelayer.obj
  48.  
  49. EEDraw:    $(OBJS)
  50.     $(LNK) @&&!
  51. c:\usr\tc\lib\c0l.obj+
  52. $(OBJS)
  53. eecad.exe
  54. eecad.map
  55. $(LIBS)
  56. !$(LFLAGS)
  57.  
  58. ctrl-brk.obj:    ctrl-brk.h
  59. director.obj:    program.h director.h ctrl-brk.h eeredraw.h
  60. eecreate.obj:    program.h eemodify.h eecreate.h eeredraw.h
  61. eecad.obj:    program.h eelibs.h eecreate.h eeredraw.h eestatus.h eemodify.h eeload.h director.h ctrl-brk.h
  62. eelibs1.obj:    program.h director.h eelibs.h eelibsl.h eemodify.h eeredraw.h eestring.h
  63. eelibs2.obj:    program.h director.h eelibs.h eelibsl.h eeload.h eemodify.h eeredraw.h eestring.h
  64. eeload.obj:    program.h director.h eelibs.h eemodify.h eeredraw.h eeload.h
  65. eemodify.obj:    program.h eelibs.h eemodify.h eeredraw.h eestring.h
  66. eeredraw.obj:    program.h eeredraw.h eemodify.h eestring.h
  67. eestatus.obj:    program.h eestatus.h
  68. eestring.obj:    program.h eestring.h
  69. eelayer.obj:    program.h eelayer.h
  70.